gtk4.git
12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sun, 19 Jan 2014 22:59:24 +0000 (20:59 -0200)]
Updated Brazilian Portuguese translation

12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sun, 19 Jan 2014 22:00:48 +0000 (20:00 -0200)]
Updated Brazilian Portuguese translation

12 years agoMake sure title_bar_with is initialized
Matthias Clasen [Sat, 18 Jan 2014 22:56:44 +0000 (17:56 -0500)]
Make sure title_bar_with is initialized

With a hidden custom title, we failed to initialize
the title_bar_width variables.

12 years agopath bar: Request enough natural width to fit all buttons
Matthias Clasen [Sat, 18 Jan 2014 22:55:04 +0000 (17:55 -0500)]
path bar: Request enough natural width to fit all buttons

Otherwise, we are at the mercy of the container giving us
more space than we request, which does not always work.

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Sat, 18 Jan 2014 19:08:30 +0000 (21:08 +0200)]
Updated Hebrew translation

12 years agoUpdated POTFILES.skip
Piotr Drąg [Sat, 18 Jan 2014 17:18:31 +0000 (18:18 +0100)]
Updated POTFILES.skip

12 years agoa11y tests: Fix expected output of about.ui
Matthias Clasen [Sat, 18 Jan 2014 15:54:37 +0000 (10:54 -0500)]
a11y tests: Fix expected output of about.ui

12 years agoa11y tests: Fix settings that affect a11y output
Matthias Clasen [Sat, 18 Jan 2014 15:53:22 +0000 (10:53 -0500)]
a11y tests: Fix settings that affect a11y output

It would be nicer if we could have the tests specify what environment
their expected output was created in, then we could test multiple
scenarios. For now, just fix the setting to avoid test failures.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Sat, 18 Jan 2014 15:12:40 +0000 (16:12 +0100)]
Updated POTFILES.skip

12 years agoUpdate Chinese simplified translation for ui and properties
Tong Hui [Sat, 18 Jan 2014 09:05:44 +0000 (17:05 +0800)]
Update Chinese simplified translation for ui and properties

12 years agoquartz: add a default application menu
Ryan Lortie [Wed, 15 Jan 2014 05:38:02 +0000 (00:38 -0500)]
quartz: add a default application menu

When running on quartz, it is no longer expected for applications to
provide their own application menu.  Instead, they should simply ensure
that they provide "app.about", "app.preferences" and "app.quit" actions
(which many apps are already doing).

A default menu will be shown that looks like the one presented by all
other Mac OS applications, containing menu items for the above actions,
as well as the typical "Hide app", "Hide Others and "Show All" items and
the "Services" submenu.

If an application does explicitly set an application menu (via
gtk_application_set_app_menu()) then it will be respected, as before.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoextract-strings: support GMenu GtkBuilder markup
Ryan Lortie [Wed, 15 Jan 2014 06:35:43 +0000 (01:35 -0500)]
extract-strings: support GMenu GtkBuilder markup

Add support for extracting strings from GMenu markup in GtkBuilder
files.

This means that we have to support translatable <attribute/> tags.

Unfortunately, <attribute> is also used by GtkTreeViewColumn and
GtkLabel for other purposes, and those other purposes use a value=''
(XML) attribute, so we must accept (and ignore) that in order not to
have errors.  Nothing will happen in those cases because they do not
also specify translatable='yes', so we ignore them.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoapplication: new 'insert action group' private api
Ryan Lortie [Wed, 15 Jan 2014 06:21:29 +0000 (01:21 -0500)]
application: new 'insert action group' private api

Add a new private API to GtkApplication akin to
gtk_widget_insert_action_group().

We'll use this to insert a few extra actions at the app level with a
separate namespace for the special items in the Mac OS application menu.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoquartz menu: add a hack for application name
Ryan Lortie [Mon, 16 Dec 2013 16:05:17 +0000 (11:05 -0500)]
quartz menu: add a hack for application name

Add a private hack to allow the insertion of the name of the application
into the label of menu items.

If it appears in the label of any menu item, "%s" will be replaced with
the name of the application.

We will use this for the "Hide myapp", "Quit myapp" and "About myapp"
labels typically found on Mac OS programs.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoquartz menu: add special items
Ryan Lortie [Wed, 15 Jan 2014 05:30:12 +0000 (00:30 -0500)]
quartz menu: add special items

Add support for the "Hide app", "Hide Others" and "Show All" special
items and for the "Services" submenu.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agodocs/comments: Fix spelling of 'explicitly'
Volker Sobek [Fri, 17 Jan 2014 15:25:30 +0000 (16:25 +0100)]
docs/comments: Fix spelling of 'explicitly'

This replaces all occurrences of 'explicitely' with 'explicitly'. Only
code comments and gtk-doc statements are affected.

https://bugzilla.gnome.org/show_bug.cgi?id=722429

12 years agoGtkMenuTracker: add 'special' items
Ryan Lortie [Sun, 15 Dec 2013 02:56:26 +0000 (21:56 -0500)]
GtkMenuTracker: add 'special' items

Allow the possibility for items to be marked with a special attribute and
expose this via GtkTrackerMenuItem.  For internal use only.

We will use this to implement the special 'Hide', 'Hide Others' and 'Show All'
items and the 'Services' submenu in the Mac OS application menu.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoquartz menu: change sensitivity approach
Ryan Lortie [Wed, 15 Jan 2014 05:26:58 +0000 (00:26 -0500)]
quartz menu: change sensitivity approach

By default, Mac OS scans menus as they are opened, updating the
sensitivity of each item in the menu.

The current code in gtkapplication-menu-quartz disables this behaviour,
preferring to manually control the sensitivity of each item in the menu
(when told by the tracker that it has changed internally).

Change the way that this works to more closely follow the usual Mac OS
regime.

This will allow us to construct a typical "application menu" on Mac OS
containing the items that are typically found there ("Hide", "Hide
Others", "Show All", "Services") and have the OS automatically update
their sensitivity.

https://bugzilla.gnome.org/show_bug.cgi?id=720552

12 years agoheader bar: Make it possible to have no title
Matthias Clasen [Sat, 18 Jan 2014 00:43:22 +0000 (19:43 -0500)]
header bar: Make it possible to have no title

Add a custom title had the side-effect of showing the widget.
That is not right, adding children and managing their visibility
should be independent. The headerbar size allocation code also
made the assumption that a custom title is always visible.

With these changes, GtkHeaderBar should be usable in situations
where the centering functionality is not required, and it is
important to freely pack content at both ends, such as in nautilus.

https://bugzilla.gnome.org/show_bug.cgi?id=722340

12 years agoUpdate colorchooser.ui test output
Matthias Clasen [Fri, 17 Jan 2014 22:42:57 +0000 (17:42 -0500)]
Update colorchooser.ui test output

These are expected changes from the last few commits.

12 years agoUpdate messagedialog.ui test output
Matthias Clasen [Fri, 17 Jan 2014 22:40:45 +0000 (17:40 -0500)]
Update messagedialog.ui test output

These are expected changes from the last few commits.

12 years agomount operation: Use headerbar
Matthias Clasen [Wed, 15 Jan 2014 11:23:38 +0000 (06:23 -0500)]
mount operation: Use headerbar

Make GtkMountOperation use a headerbar for its dialog
when desired.

12 years agorecent chooser dialog: Use headerbar
William Jon McCann [Fri, 10 Jan 2014 21:17:47 +0000 (16:17 -0500)]
recent chooser dialog: Use headerbar

Make the recent chooser dialog use a headerbar
when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agofile chooser dialog: Use headerbar
William Jon McCann [Fri, 10 Jan 2014 21:16:56 +0000 (16:16 -0500)]
file chooser dialog: Use headerbar

Make the file chooser dialog use a headerbar
when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agocustom paper dialog: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:58:00 +0000 (15:58 +0100)]
custom paper dialog: Use headerbar

Make the custom paper dialog use a headerbar when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agopage setup dialog: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:54:17 +0000 (15:54 +0100)]
page setup dialog: Use headerbar

Make the page setup dialog use a headerbar when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoprint dialog: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:38:43 +0000 (15:38 +0100)]
print dialog: Use headerbar

Make the print dialog use a headerbar when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoapp chooser: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:22:46 +0000 (15:22 +0100)]
app chooser: Use headerbar

Use a GtkHeaderBar in the app chooser dialog when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agocolor chooser: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:13:25 +0000 (15:13 +0100)]
color chooser: Use headerbar

Make GtkColorChooserDialog use a headerbar when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agofont dialog: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 14:09:46 +0000 (15:09 +0100)]
font dialog: Use headerbar

Make the font chooser dialog use a headerbar
when desired.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoabout dialog: Use headerbar
William Jon McCann [Sun, 8 Dec 2013 12:40:50 +0000 (13:40 +0100)]
about dialog: Use headerbar

Use a GtkHeaderBar for the credits and about buttons.

It makes less sense here than in other places to go back to
the buttons on the bottom, considering we only have a close
button, so we always use a header bar.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agodialog: Show the action area when needed
Matthias Clasen [Fri, 17 Jan 2014 04:58:49 +0000 (23:58 -0500)]
dialog: Show the action area when needed

If we find that widgets are being added to the action area,
we should show it. Also warn in this situation.

12 years agoExclude use-header-bar from the defaultvalue test
Matthias Clasen [Fri, 17 Jan 2014 22:03:00 +0000 (17:03 -0500)]
Exclude use-header-bar from the defaultvalue test

12 years agoMake it possible to set use-header-bar from a setting
Matthias Clasen [Fri, 17 Jan 2014 22:17:23 +0000 (17:17 -0500)]
Make it possible to set use-header-bar from a setting

This commit introduces a private convenience API that derived
dialogs can call in their instance init. This is necessary to
make the setting work as intended in the face of 3rd party
dialogs derived e.g. from GtkFileChooserDialog, which are
created with g_object_new.

12 years agoAdd a setting for dialog headers
Matthias Clasen [Wed, 15 Jan 2014 05:33:30 +0000 (00:33 -0500)]
Add a setting for dialog headers

This setting will let us keep traditional appearance
of dialogs on platforms where this is expected.
The new setting is called gtk-dialogs-use-header, backed
by the Gtk/DialogsUseHeader xsetting.

12 years agodemo: Add two buttons to the message dialog
William Jon McCann [Sun, 12 Jan 2014 02:59:45 +0000 (21:59 -0500)]
demo: Add two buttons to the message dialog

This tests the new. prompt-like layout of message dialogs
better.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agomessage dialog: Center text
William Jon McCann [Mon, 13 Jan 2014 19:30:31 +0000 (14:30 -0500)]
message dialog: Center text

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agomessage dialog: Don't show images
William Jon McCann [Sun, 12 Jan 2014 14:32:29 +0000 (09:32 -0500)]
message dialog: Don't show images

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agomessage dialog: Allow action area to extend to the edge
Matthias Clasen [Fri, 17 Jan 2014 17:36:53 +0000 (12:36 -0500)]
message dialog: Allow action area to extend to the edge

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agomessage dialog: Don't use headerbar
Matthias Clasen [Fri, 17 Jan 2014 17:36:12 +0000 (12:36 -0500)]
message dialog: Don't use headerbar

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agodialog: Add style classes
Matthias Clasen [Fri, 17 Jan 2014 17:39:05 +0000 (12:39 -0500)]
dialog: Add style classes

These will be used in subsequent commits to better style
message dialogs.

12 years agodialog: Add a headerbar
William Jon McCann [Sun, 8 Dec 2013 18:15:40 +0000 (19:15 +0100)]
dialog: Add a headerbar

This change makes it possible for GtkDialog to pack
its action widgets into a header bar, instead of the
traditional action area. This change is controlled
by the use-header-bar construct-only property.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoUpdate all internal users of alternative button order
Matthias Clasen [Fri, 17 Jan 2014 16:41:03 +0000 (11:41 -0500)]
Update all internal users of alternative button order

We'll keep this code around for now to not regress
on Windows, but avoid deprecation warnings.

12 years agodialog: Mark alternate button order as deprecated
William Jon McCann [Sun, 8 Dec 2013 16:38:34 +0000 (17:38 +0100)]
dialog: Mark alternate button order as deprecated

This feature was never implemented 100% correct, and
does not apply to action buttons in header bars.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agofile chooser: Clean up direct action area interaction
Matthias Clasen [Wed, 15 Jan 2014 11:44:48 +0000 (06:44 -0500)]
file chooser: Clean up direct action area interaction

12 years agoUpdate all internal users of gtk_dialog_get_action_area
Matthias Clasen [Fri, 17 Jan 2014 16:26:11 +0000 (11:26 -0500)]
Update all internal users of gtk_dialog_get_action_area

Some of these should be revisited and fixed. For now,
just avoid the deprecation warnings.

12 years agodialog: Mark gtk_dialog_get_action_area as deprecated
Matthias Clasen [Fri, 17 Jan 2014 17:01:47 +0000 (12:01 -0500)]
dialog: Mark gtk_dialog_get_action_area as deprecated

Direct access to the action area by applications makes it much more
difficult to make changes to GtkDialog. Therefore, deprecate this
function.

12 years agodemo: Add new button box layouts
William Jon McCann [Sun, 12 Jan 2014 03:46:19 +0000 (22:46 -0500)]
demo: Add new button box layouts

This adds a test case for the new expand layout.

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agobutton box: Set linked style for extend
Matthias Clasen [Fri, 17 Jan 2014 17:39:30 +0000 (12:39 -0500)]
button box: Set linked style for extend

This is needed for proper styling of the new extend-placement
in button boxes.

12 years agoAdd an expand button box type
William Jon McCann [Sun, 12 Jan 2014 01:27:42 +0000 (20:27 -0500)]
Add an expand button box type

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agowindow: Allow unsetting custom titlebar
William Jon McCann [Fri, 10 Jan 2014 20:25:27 +0000 (15:25 -0500)]
window: Allow unsetting custom titlebar

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoheaderbar: Set a minimum size for the title
William Jon McCann [Fri, 10 Jan 2014 21:15:17 +0000 (16:15 -0500)]
headerbar: Set a minimum size for the title

https://bugzilla.gnome.org/show_bug.cgi?id=720059

12 years agoUse gtk_window_close for gtk_dialog_close
Paolo Borelli [Fri, 17 Jan 2014 18:24:27 +0000 (19:24 +0100)]
Use gtk_window_close for gtk_dialog_close

We manually synthethized the delete event, but now we have the
corresponding method in GtkWindow

12 years agowidget: Add deprecation annotations for {get,set}_margin_{left,right}
Debarshi Ray [Fri, 17 Jan 2014 13:15:34 +0000 (14:15 +0100)]
widget: Add deprecation annotations for {get,set}_margin_{left,right}

Fallout from 9921bec63a3e67e2c2e38ca734590909a9f734b5

12 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Fri, 17 Jan 2014 15:47:55 +0000 (17:47 +0200)]
[l10n] Updated Estonian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 15 Jan 2014 09:20:21 +0000 (10:20 +0100)]
Updated Spanish translation

12 years agoUpdated POTFILES.skip
Piotr Drąg [Tue, 14 Jan 2014 23:53:10 +0000 (00:53 +0100)]
Updated POTFILES.skip

12 years agoBump version
Matthias Clasen [Tue, 14 Jan 2014 20:20:59 +0000 (15:20 -0500)]
Bump version

12 years agoAlways return FALSE from the notebook leave_notify handler
Paolo Borelli [Tue, 14 Jan 2014 19:29:46 +0000 (20:29 +0100)]
Always return FALSE from the notebook leave_notify handler

As discussed on IRC with Benjamin, this should not make much
difference in practice, but it is more correct

12 years agoReadd line removed by mistake in the previous commit
Paolo Borelli [Tue, 14 Jan 2014 19:23:52 +0000 (20:23 +0100)]
Readd line removed by mistake in the previous commit

12 years agoPrelight notebook tab
Paolo Borelli [Sat, 11 Jan 2014 18:15:18 +0000 (19:15 +0100)]
Prelight notebook tab

Set the prelight state when hovering a notebook tab with the mouse.

https://bugzilla.gnome.org/show_bug.cgi?id=711233

12 years agoMake the action bar reftest reliable
Matthias Clasen [Tue, 14 Jan 2014 19:05:37 +0000 (14:05 -0500)]
Make the action bar reftest reliable

12 years agoUpdates
Matthias Clasen [Tue, 14 Jan 2014 11:21:21 +0000 (06:21 -0500)]
Updates

12 years agoUpdate expected output for tree.ui
Matthias Clasen [Tue, 14 Jan 2014 18:14:51 +0000 (13:14 -0500)]
Update expected output for tree.ui

Now that the utf8 actually appears...

12 years agoRun accessibility tests in en_US.utf8
Matthias Clasen [Tue, 14 Jan 2014 18:11:42 +0000 (13:11 -0500)]
Run accessibility tests in en_US.utf8

Previously, we were just using the C locale, which breaks
some of our fancy utf8 output for checkmarks and so on.

12 years agoGtkApplicationWindow: give up on handling dispose
Ryan Lortie [Tue, 14 Jan 2014 15:33:13 +0000 (10:33 -0500)]
GtkApplicationWindow: give up on handling dispose

Stop trying to deal with "theoretical possibilities".

We can't possibly continue to be a faithful GActionGroup implementation
across dispose because dispose has a side effect of removing everyone's
signal handlers.

The code that we ran after the dispose chainup to do all of the fancy
signal emulation was therefore dead.  The test that aimed to verify this
was buggy itself due to an uninitialised variable, so really, it never
worked at all.

We keep the re-ordering of the chainup from the original commit to avoid having
trouble with GtkActionMuxer and keep the checks in place that will prevent an
outright segfault in the case that someone else tries to use the interface
post-dispose.

https://bugzilla.gnome.org/show_bug.cgi?id=722189

12 years agotreemodelfilter: Fix typo in API docs
Bastien Nocera [Tue, 14 Jan 2014 14:02:26 +0000 (15:02 +0100)]
treemodelfilter: Fix typo in API docs

12 years agoAdd some treeview a11y tests
Matthias Clasen [Tue, 14 Jan 2014 04:31:05 +0000 (23:31 -0500)]
Add some treeview a11y tests

12 years agoA11y: Fix text functions for table cells
Mike Gorse [Tue, 7 Jan 2014 21:06:13 +0000 (15:06 -0600)]
A11y: Fix text functions for table cells

Keep the PangoLayout around, and refresh in update_cache.

https://bugzilla.gnome.org/show_bug.cgi?id=707729

12 years agowindow: add an is-maximized property to GtkWindow
Cosimo Cecchi [Wed, 24 Apr 2013 19:45:49 +0000 (15:45 -0400)]
window: add an is-maximized property to GtkWindow

With proper notifications, plus an accessor method for that state. This
allows client to just listen to notify::is-maximized instead of tracking
window-state-event.

https://bugzilla.gnome.org/show_bug.cgi?id=698786

12 years agoDon't implement popup_menu in GtkWindow
Matthias Clasen [Tue, 14 Jan 2014 03:59:59 +0000 (22:59 -0500)]
Don't implement popup_menu in GtkWindow

This leads to disastruous results, since each menu is itself
in a GtkWindow, so holding down the menu key leads to a neverending
cascade of menus on top of menus.

https://bugzilla.gnome.org/show_bug.cgi?id=722106

12 years agoFix memory leak in GtkTreeViewAccessible
John Lindgren [Sun, 12 Jan 2014 07:07:00 +0000 (07:07 +0000)]
Fix memory leak in GtkTreeViewAccessible

https://bugzilla.gnome.org/show_bug.cgi?id=722030

12 years agoAdd separator before "Always on Top" to the CSD window
Yosef Or Boczko [Mon, 13 Jan 2014 05:49:41 +0000 (07:49 +0200)]
Add separator before "Always on Top" to the CSD window

https://bugzilla.gnome.org/show_bug.cgi?id=722076

12 years agoFix a memory leak
Matthias Clasen [Tue, 14 Jan 2014 03:22:29 +0000 (22:22 -0500)]
Fix a memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=722029

12 years agogdk: Don't leak GValue when xsetting is unknown
Tim Lunn [Mon, 13 Jan 2014 01:12:39 +0000 (12:12 +1100)]
gdk: Don't leak GValue when xsetting is unknown

https://bugzilla.gnome.org/show_bug.cgi?id=722070

12 years agoreftests: Add reftest for 0px border fix
Benjamin Otte [Tue, 14 Jan 2014 02:33:24 +0000 (03:33 +0100)]
reftests: Add reftest for 0px border fix

https://bugzilla.gnome.org/show_bug.cgi?id=721800

12 years agothemingengine: Don't draw 0px borders
Benjamin Otte [Tue, 14 Jan 2014 02:22:15 +0000 (03:22 +0100)]
themingengine: Don't draw 0px borders

Theming code gets confused when computing the spacing for 0px wide dots
and then divides by 0. And then cairo complains and stops drawing
anything forever out of spite and then we end up with a single color
screen.

https://bugzilla.gnome.org/show_bug.cgi?id=721800

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 13 Jan 2014 13:15:34 +0000 (14:15 +0100)]
Updated Spanish translation

12 years agobuild/: Rename a Shared MSVC NMake Makefile
Chun-wei Fan [Mon, 13 Jan 2014 09:19:07 +0000 (17:19 +0800)]
build/: Rename a Shared MSVC NMake Makefile

Rename testsrules_msvc.mak to detectenv_msvc.mak and remove some package-
specific stuff from it, to reflect on the nature that this NMake Makefile
is shared.

12 years agoMSVC Builds: Rework Introspection Build
Chun-wei Fan [Mon, 13 Jan 2014 08:05:00 +0000 (16:05 +0800)]
MSVC Builds: Rework Introspection Build

The current approach of building the introspection files for GTK works, but
is often cumbersome as one needs to set many environmental variables before
launching a solution file, which runs a Windows batch script to generate
the .gir/.typelib files. It was also possible to hand-run the batch script
from the Visual Studio command prompt, but even more environmental
variables need to be set.

This changes the approach to build the introspection files using an NMake
Makefile (but elimating from the Visual Studio Project Files the part to
build the introspection files) to:
-Make it clearer to the person building the introspection files what
 environmental variables are needed, specifically for PKG_CONFIG_PATH and
 MINGWDIR and CFG (formerly CONF). Setting stuff like VSVER, PLAT and BASEDIR
 is no longer required, which was a bit clunky.

-Allows some more easier flexibility on the build of the intropsection files.

12 years agoUpdated Greek translation
Dimitris Spingos [Mon, 13 Jan 2014 07:51:46 +0000 (09:51 +0200)]
Updated Greek translation

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Mon, 13 Jan 2014 05:44:27 +0000 (07:44 +0200)]
Updated Hebrew translation

12 years agoUpdate gtk-install.*props
Chun-wei Fan [Mon, 13 Jan 2014 04:39:04 +0000 (12:39 +0800)]
Update gtk-install.*props

Make sure the needed public headers for GTK master is "installed", and re-
order some items so that it is easier when the headers lists are
automatically acquired from the various Makefile.am's.

12 years agobuild/win32/vs9/Makefile: Fix typo
Chun-wei Fan [Mon, 13 Jan 2014 04:02:12 +0000 (12:02 +0800)]
build/win32/vs9/Makefile: Fix typo

12 years agoAdd move and resize to the csd window menu
Matthias Clasen [Mon, 13 Jan 2014 03:09:52 +0000 (22:09 -0500)]
Add move and resize to the csd window menu

With the previous commit, these operations can be implemented
now.

12 years agoX11: Support keyboard-initiated move and resize operations
Matthias Clasen [Mon, 13 Jan 2014 03:06:59 +0000 (22:06 -0500)]
X11: Support keyboard-initiated move and resize operations

The EWMH defines _NET_WM_MOVERESIZE_SIZE_KEYBOARD and
_NET_WM_MOVERESIZE_MOVE_KEYBOARD for operations that are not
initiated by a button-press event. Allow using these by passing
a button of 0 to gdk_window_begin_move/resize_drag.

12 years agoRedo csd window-dragging
Matthias Clasen [Mon, 13 Jan 2014 02:01:43 +0000 (21:01 -0500)]
Redo csd window-dragging

The window-dragging code had a number of issues: The code was
starting a drag on every button press, never bothering to cancel
them. This leads to the odd hand cursor occurring between the two
clicks to maximize. We relied on GDK's multi-click detection, which
gives us triple-clicks when we really want sequences of double-clicks.
Lastly, we didn't propery restrict double-click handling to the primary
button, so e.g. if you had a window on an empty workspace, double-right
click on the titlebar would maximize it, which is not intended.

This commit solves all three problem by a doing our own double-click
detection, and only starting a drag when the pointer goes out of
'double-click range'. We change the way dragging is implemented for
menubars and toolbars to just letting events bubble up, so they
get the same behaviour as the titlebar. To make this work, we
have to select for pointer motion events in a few more places.

12 years agogtk-demo: Use primary-toolbar style in the application example
Matthias Clasen [Mon, 13 Jan 2014 01:12:31 +0000 (20:12 -0500)]
gtk-demo: Use primary-toolbar style in the application example

Adwaita correctly restricts window-dragging to primary toolbars,
Mark our toolbar as primary to test this.

12 years agoSome struct repacking
Matthias Clasen [Sun, 12 Jan 2014 14:39:23 +0000 (09:39 -0500)]
Some struct repacking

Save a few bytes here and there.

12 years agoUpdated Galician translations
Fran Diéguez [Mon, 13 Jan 2014 00:47:06 +0000 (01:47 +0100)]
Updated Galician translations

12 years agoChanged obsolete FSF portal addresses to web address
Andika Triwidada [Sun, 12 Jan 2014 12:56:49 +0000 (19:56 +0700)]
Changed obsolete FSF portal addresses to web address
Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530

12 years agogtk3-demo: avoid a resizing problem
Matthias Clasen [Sat, 11 Jan 2014 23:06:06 +0000 (18:06 -0500)]
gtk3-demo: avoid a resizing problem

Two changes that sneaked in during the GtkApplication port
made it so that the window would not let you shrink it again
after you've made it larger. This also yielded very surprising
results when unmaximizing the window: it would come back to
have a minimum width slightly larger than the screen, making
maximization fail from then on.

12 years agoUpdate Chinese simplified translation
Tong Hui [Sat, 11 Jan 2014 02:26:28 +0000 (10:26 +0800)]
Update Chinese simplified translation

12 years agogtkwindow: Rename get_decoration_size => get_shadow_width
Jasper St. Pierre [Thu, 9 Jan 2014 19:44:34 +0000 (14:44 -0500)]
gtkwindow: Rename get_decoration_size => get_shadow_width

12 years agogtkapplication: add missing annotation for set_accels_for_action
Ignacio Casal Quinteiro [Fri, 10 Jan 2014 14:19:05 +0000 (15:19 +0100)]
gtkapplication: add missing annotation for set_accels_for_action

12 years agoREADME: Add note about gtk_text_view_add_child_in_window changes
Alexander Larsson [Fri, 10 Jan 2014 11:08:11 +0000 (12:08 +0100)]
README: Add note about gtk_text_view_add_child_in_window changes

12 years agoGtkTextView: Fix scrolling of added children
Alexander Larsson [Wed, 8 Jan 2014 14:26:15 +0000 (15:26 +0100)]
GtkTextView: Fix scrolling of added children

The behaviour of gtk_text_view_add_child_in_window() used to be
quite broken. It scrolled with the window during scrolling, then
jumped to the absolute position when the widget resized. Furthermore,
in 3.10 we broke the first feature, making it always be fixed.

The "proper" way to handle this is to always follow scrolling. This
is what the only user so far (gedit) wants, and if you want some
kind of overlay you should use GtkOverlay instead.

So, this changes the behaviour to something that is internally consistent
and works. I.e. all added widgets scroll with the textview as needed.

https://bugzilla.gnome.org/show_bug.cgi?id=711826

12 years agotesttextview: Add test for gtk_text_view_add_child_in_window
Alexander Larsson [Wed, 8 Jan 2014 13:02:17 +0000 (14:02 +0100)]
testtextview: Add test for gtk_text_view_add_child_in_window

https://bugzilla.gnome.org/show_bug.cgi?id=711826

12 years ago[l10n] Updated Italian translation.
Milo Casagrande [Fri, 10 Jan 2014 08:08:12 +0000 (09:08 +0100)]
[l10n] Updated Italian translation.

12 years agox11: Add/Fix '(type *)' g-i annotations
Rico Tzschichholz [Thu, 9 Jan 2014 20:47:04 +0000 (21:47 +0100)]
x11: Add/Fix '(type *)' g-i annotations